package com.xii.eduservice.entity.subject;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @description: 一级分类
 *
 * @author  wangxihao
 * @email wangxh0108@163.com
**/
@Data
public class OneSubject {
    private String id;
    private String title;

    //一个一级分类里面会有多个二级分类
    private List<TwoSubject> children = new ArrayList<TwoSubject>();
}
